package com.aracky.system.model.vo.view;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author zengzhiping
 * @BelongsPackage com.aracky.system.model.vo.view
 * @CreateTime 2022-07-22
 * @Description 返回前端需要的特殊数据格式
 */
@Data
public class MenuVO {
    /**
     * 直接赋值true
     */
    private Boolean alwaysShow;
    /**
     *component
     */
    private String component;

    /**
     * visible的值赋值给hiden
     */
    private Boolean hidden;

    private MetaVO meta;

    /**
     * name就是name
     */
    private String name;

    /**
     * url赋值给path
     */
    private String path;
    /**
     * 菜单id
     */
    private Long menuId;
    /**
     * 父id
     */
    private Long parentId;
    /**
     * 权限标识
     */
    private String perms;
    /**
     * 菜单类型
     */
    private String menuType;

    /**
     * 子菜单
     */
    private List<MenuVO> children;

}
